package com.h.common.exception;

import com.pandawork.core.exception.IBizExceptionMes;

public enum WLAdminException implements IBizExceptionMes{
    SystemException("系统异常", 0001) //
    ;
    private final static int SMSEXCPTIONCODE = 1005;
    
    private String mes;
    private int code;
    
    WLAdminException(String mes, int code){
        this.mes = mes;
        this.code = code;
    }
    
    @Override
    public String getMes() {
        return mes;
    }

    @Override
    public int getCode() {
        return Integer.parseInt(SMSEXCPTIONCODE + "" + code);
    }

}
